import request from '@/utils/request'

// 修改昵称
export const updataUsername = (id, data) => {
  return request({
    url: `/user_infos/${id}`,
    method: 'put',
    data
  })
}
